//
//  NewsDetailsRelative.m
//  news
//
//  Created by lanou on 15/12/19.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "NewsDetailsRelative.h"

@implementation NewsDetailsRelative

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}

+ (instancetype)detailWithDict:(NSDictionary *)dict {
    NewsDetailsRelative *model = [[NewsDetailsRelative alloc] init];
    [model setValuesForKeysWithDictionary:dict];
    return model;
}

@end
